package cn.redragon.soa.common.constant;

public interface AuthConstant {

    String AUTH_HEADER = "Authorization";

    String TOKEN_HEADER = "Token";

    String BEARER_AUTH_PREFIX = "Bearer ";

    String BASIC_AUTH_PREFIX = "Basic ";

    String SYSTEM_USER = "SYSTEM";

    String CLAIM_NAME = "name";

    String CLAIM_PROFILE = "profile";

    String CLAIM_JTI = "jti";

    String CLAIM_WRAPPED_ROLES = "roles";


    String HEADER_MASKED_VALUE = "masked";

    String EXPIRES_IN_HEADER = "Expires-In";

    String ACCESS_DENIED_REASON = "Access is forbidden";

}